// 融资审核
import request from "@/utils/request";

//分页
export function page(query) {
  return request({
    url: '/banking/applicationsCheck/page',
    method: 'post',
    data: query,
  })
}

//租房分期
export function installmentData(id) {
  return request({
    url: '/banking/applicationsCheck/installment',
    method: 'get',
    params: id,
  })
}
//收房贷
export function collectmortgageData(id) {
  return request({
    url: '/banking/applicationsCheck/collectmortgage',
    method: 'get',
    params: id,
  })
}
//收房贷
export function leasefactoringData(id) {
  return request({
    url: '/banking/applicationsCheck/leasefactoring',
    method: 'get',
    params: id,
  })
}

//审核状态修改
export function checks(check) {
  return request({
    url: '/banking/applicationsCheck/checks',
    method: 'post',
    data: check,
  })
}

//查看保理详情
export function factoringDetail(id) {
  return request({
    url: '/banking/applicationsCheck/factoringDetail',
    method: 'get',
    params: id,
  })
}


